<!DOCTYPE html>
<!-- saved from url=(0052)http://getbootstrap.com/docs/4.0/examples/dashboard/ -->
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<meta name="description" content="">
	<meta name="author" content="">

	<title>Dashboard Template for Bootstrap</title>
	<!-- Bootstrap core CSS -->
	<link href="/asserts/css/bootstrap.min.css" rel="stylesheet">

	<!-- Custom styles for this template -->
	<link href="/asserts/css/dashboard.css" rel="stylesheet">
	<style type="text/css">
		/* Chart.js */

		@-webkit-keyframes chartjs-render-animation {
			from {
				opacity: 0.99
			}
			to {
				opacity: 1
			}
		}

		@keyframes chartjs-render-animation {
			from {
				opacity: 0.99
			}
			to {
				opacity: 1
			}
		}

		.chartjs-render-monitor {
			-webkit-animation: chartjs-render-animation 0.001s;
			animation: chartjs-render-animation 0.001s;
		}
	</style>
</head>

<body>



<nav class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0">
	<a class="navbar-brand col-sm-3 col-md-2 mr-0" href="http://getbootstrap.com/docs/4.0/examples/dashboard/#">控制台</a>
	<input class="form-control form-control-dark w-100" type="text" placeholder="Search" aria-label="Search">
	<ul class="navbar-nav px-3">
		<li class="nav-item text-nowrap">
			<a class="nav-link" href="http://getbootstrap.com/docs/4.0/examples/dashboard/#">Sign out</a>
		</li>
	</ul>
</nav>

<div class="container-fluid">
	<div class="row">
		<nav class="col-md-2 d-none d-md-block bg-light sidebar">
			<div class="sidebar-sticky">
				<ul class="nav flex-column">
					<li class="nav-item ">
						<a class="nav-link active controller"  href="#">
							<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-home">
								<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>
								<polyline points="9 22 9 12 15 12 15 22"></polyline>
							</svg>
							访问人数 <span class="sr-only">(current)</span>
						</a>
					</li>

					<li class="nav-item ">
						<a class="nav-link  controller " href="#">
							<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file">
							<path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path>
							<polyline points="13 2 13 9 20 9"></polyline>
							</svg>
							说说控制 <span class="sr-only">(current)</span>
						</a>
					</li>
					<li class="nav-item ">
						<a class="nav-link  controller " href="#">
							<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file">
								<path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path>
								<polyline points="13 2 13 9 20 9"></polyline>
							</svg>
							资料控制 <span class="sr-only">(current)</span>
						</a>
					</li>
					<li class="nav-item ">
					<a class="nav-link  controller " href="#">
						<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file">
							<path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path>
							<polyline points="13 2 13 9 20 9"></polyline>
						</svg>
						用户认证 <span class="sr-only">(current)</span>
					</a>
				</li>

					<li class="nav-item ">
						<a class="nav-link  controller " href="#">
							<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file">
								<path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path>
								<polyline points="13 2 13 9 20 9"></polyline>
							</svg>
							社团活动
							<span class="sr-only">(current)</span>
						</a>
					</li>
					<!--<li class="nav-item">-->
						<!--<a class="nav-link" href="http://getbootstrap.com/docs/4.0/examples/dashboard/#">-->
							<!--<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file">-->
								<!--<path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path>-->
								<!--<polyline points="13 2 13 9 20 9"></polyline>-->
							<!--</svg>-->
							<!--Orders-->
						<!--</a>-->
					<!--</li>-->
					<!--<li class="nav-item">-->
						<!--<a class="nav-link" href="http://getbootstrap.com/docs/4.0/examples/dashboard/#">-->
							<!--<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-shopping-cart">-->
								<!--<circle cx="9" cy="21" r="1"></circle>-->
								<!--<circle cx="20" cy="21" r="1"></circle>-->
								<!--<path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path>-->
							<!--</svg>-->
							<!--Products-->
						<!--</a>-->
					<!--</li>-->
					<!--<li class="nav-item">-->
						<!--<a class="nav-link" href="http://getbootstrap.com/docs/4.0/examples/dashboard/#">-->
							<!--<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users">-->
								<!--<path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>-->
								<!--<circle cx="9" cy="7" r="4"></circle>-->
								<!--<path d="M23 21v-2a4 4 0 0 0-3-3.87"></path>-->
								<!--<path d="M16 3.13a4 4 0 0 1 0 7.75"></path>-->
							<!--</svg>-->
							<!--Customers-->
						<!--</a>-->
					<!--</li>-->
					<!--<li class="nav-item">-->
						<!--<a class="nav-link" href="http://getbootstrap.com/docs/4.0/examples/dashboard/#">-->
							<!--<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bar-chart-2">-->
								<!--<line x1="18" y1="20" x2="18" y2="10"></line>-->
								<!--<line x1="12" y1="20" x2="12" y2="4"></line>-->
								<!--<line x1="6" y1="20" x2="6" y2="14"></line>-->
							<!--</svg>-->
							<!--Reports-->
						<!--</a>-->
					<!--</li>-->
					<!--<li class="nav-item">-->
						<!--<a class="nav-link" href="http://getbootstrap.com/docs/4.0/examples/dashboard/#">-->
							<!--<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-layers">-->
								<!--<polygon points="12 2 2 7 12 12 22 7 12 2"></polygon>-->
								<!--<polyline points="2 17 12 22 22 17"></polyline>-->
								<!--<polyline points="2 12 12 17 22 12"></polyline>-->
							<!--</svg>-->
							<!--Integrations-->
						<!--</a>-->
					<!--</li>-->
				</ul>



			</div>
		</nav>

		<main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4 main"  >
			<div class="chartjs-size-monitor" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; overflow: hidden; pointer-events: none; visibility: hidden; z-index: -1;">
				<div class="chartjs-size-monitor-expand" style="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;">
					<div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div>
				</div>
				<div class="chartjs-size-monitor-shrink" style="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;">
					<div style="position:absolute;width:200%;height:200%;left:0; top:0"></div>
				</div>
			</div>


			<canvas class="my-4 chartjs-render-monitor" id="myChart" width="1076" height="454" style="display: block; width: 1076px; height: 454px;"></canvas>

		</main>

		<main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4 main" id="talkTable">

			<div class="table-responsive">
				<table class="table table-striped table-sm" id="talkTab">
					<thead>
					<tr>
						<th>id</th>
						<th>内容</th>
						<th>图片</th>
						<th>用户名</th>
						<th>点赞数</th>
						<th>时间</th>
						<th>操作</th>
					</tr>
					</thead>
				</table>
			</div>
		</main>

		<main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4 main" id="dtable">

			<div class="table-responsive">
				<table class="table table-striped table-sm" id="dataTab">
					<thead>
						<tr>
							<th>id</th>
							<th>资料名</th>
							<th>描述</th>
							<th>类型</th>
							<th>链接</th>
							<th>操作</th>
						</tr>
					</thead>
				</table>
			</div>
		</main>

		<main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4 main" id="aTab">

			<div class="table-responsive">
				<table class="table table-striped table-sm" id="authTab">
					<thead>
					<tr>
						<th>id</th>
						<th>资料名</th>
						<th>描述</th>
						<th>类型</th>
						<th>链接</th>
						<th>操作</th>
					</tr>
					</thead>
				</table>
			</div>
		</main>

		<main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4 main" id="actTab">

			<div class="table-responsive">
				<table class="table table-striped table-sm" id="activityTab">
					<thead>
					<tr>
						<th>id</th>
						<th>活动名称</th>
						<th>活动描述</th>
						<th>活动时间</th>
						<th>图片url</th>
						<th>参加人数</th>
						<th>操作</th>
					</tr>
					</thead>

				</table>
			</div>

			<div class="addAct" style="width: 30%;display: none;margin: 40px auto;">


				<form class="card p-2">

						<input type="text" class="form-control" placeholder="活动名称（25字以内）" style="margin-bottom: 15px" >
						<input type="text" class="form-control" placeholder="活动地点（50字以内）"  style="margin-bottom: 15px" >
						<input type="text" class="form-control" placeholder="活动详情（100字以内）"  style="margin-bottom: 15px" >
						<input type="text" class="form-control" placeholder="活动时间" style="margin-bottom: 15px"  >
					    <button type="submit" class="btn btn-secondary">提交</button>

				</form>

			</div>

		</main>

	</div>
</div>



<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script type="text/javascript" src="/asserts/js/jquery-3.2.1.slim.min.js" ></script>
<script type="text/javascript" src="/asserts/js/popper.min.js" ></script>
<script type="text/javascript" src="/asserts/js/bootstrap.min.js" ></script>

<!-- Icons -->
<script type="text/javascript" src="/asserts/js/feather.min.js" ></script>
<script>
	feather.replace()
</script>

<!-- Graphs -->
<script type="text/javascript" src="/asserts/js/Chart.min.js" ></script>



<!-- index.js -->
<script>

		var globalData = {
			user_id : 48,
			token : "31e23adee5f9b3d16c0767289fcfae00",
			username : "明凯",
		}

		console.log(globalData)

		var btn = document.getElementsByClassName("controller")
		var classes = document.getElementsByClassName("main")

		function render(x) {

			for(var i = 0; i < classes.length; i++) {
				if(i == x)  {
					console.log( btn[i].classList)
					btn[i].classList.add("active")
					classes[i].style.display = "block";
					continue

				}
				btn[i].classList.remove("active")
				classes[i].style.display = "none"
			}
		}

		var x = 0;
		render(0)


		for(let i = 0; i < btn.length; i++) {
			btn[i].addEventListener("click", function (evt) {
				render(i)
			})


		}
</script>


	<script type="text/javascript" src="/js/jquery-3.3.1.min.js"></script>

	<!-- 访问人数-->

	<script type="text/javascript" src="/js/access.js"></script>

	<!-- 说说-->
	<script type="text/javascript" src="/js/talk.js"></script>


	<!-- 资料-->
	<script type="text/javascript" src="/js/data.js"></script>

	<!-- 社团活动-->
	<script type="text/javascript" src="/js/act.js"></script>


</body>

</html>